GTK: Fix build for pre-C99 compilers
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 9 May 2016 08:37:39 +0000 (16:37 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 10 May 2016 09:14:07 +0000 (17:14 +0800)
commit092cb9e202a9f654152bc5fbb276521817346d11
tree994776b3fb72a339bdb8c3281f3a92d25b46d7d4
parent7a0941c0908df71ce5f11f76537c288ef0cba26b
GTK: Fix build for pre-C99 compilers

Some compilers we support, such as pre-2013 Visual Studio, does not support
for INIFINITY, log2() and exp2(), so check for exp2() and log2() during
configure, and use fallbacks for them and INIFINTY if they are not found.

https://bugzilla.gnome.org/show_bug.cgi?id=766207
config.h.win32.in
configure.ac
gtk/fallback-c89.c
gtk/gtkprogressbar.c
gtk/inspector/visual.c